package edu.xmut.prototype;

/**
 * @author 朔风
 * @date 2024-02-18 17:28
 */
public class Client {
    public static void main(String[] args) {
        Sheep sheep = new Sheep("小羊",19,"red");
        Sheep sheep2 = new Sheep(sheep.getName(),sheep.getAge(),sheep.getColor());
        System.out.println(sheep);
        System.out.println(sheep2);
    }
}
